Added a HConnectionFactory class, which creates HConnections.

 This is added this to enable creating protected HConnections in phoenix.