Add proxy support and proxy authentication, for #5