Extract out ConnectorFactory.

Add a default HttpConnectorFactory impl.