Pre-Emptive Basic Authentication option for proxy servers

Adds support for sending basic authentication to proxy servers pre-emptively, configurable via ClientConfiguration.