Allow use of $ua->credentials for specifying basic auth to a proxy.

Pass $request->headers so credentials are also passed (allowing for non-basic
auth).
Also return the response so that the proper HTTP status code is propagated throught the call stack.  By passing back the response, status 407 can be handled for authentication.