Using username/password for auth if specified.
Merge pull request #14 from Batmat/support-authenticated-proxy

Using username/password for auth if specified.