Getting rid of all superglobals

And use getenv() instead. This is how Symphony defines things too.

Also, use Symphony's defined values for REMOTE_ADDR and HTTP_USER_AGENT.

This way, it's impossible to get it wrong and fixes #24