Authentication through a proxy.

Add a feature to make an authentication through a proxy.