This PR modernizes the function a bit. It removes all dependencies, since determining the IP address is simple. It also witches to using the Web Handler signature which enables built-in 405 Method Not Allowed handling.
This PR modernizes the function a bit. It removes all dependencies, since determining the IP address is simple. It also witches to using the [Web Handler signature](https://vercel.com/docs/functions/functions-api-reference?framework=other#function-signature) which enables built-in 405 Method Not Allowed handling.