Indentation and leading whitespace is all wrong here, our project standard is indent with tabs only.

This class also should be static if we have to use an Authenticator.  We don't want to publish an Authenticator instance to the JRE that has a handle back to the TransportHttp "this", as that could pin an entire Repository object and its data files in memory for the indefinite future.