New public method java.net.HttpURLConnection::setAuthenticator allows to specify an authenticator to use with a given connection. Reviewed-by: chegar
Reviewed-by: darcy, weijun