Added proxy option to configuration.

I like that in the new Java spec lets users implement their own client.

As it stands right now I have users that have to route traffic through a proxy, hence the need to also route analytics through a proxy.
Not my favourite way to test, but I didn't want to setup a mock proxy server.