Added a HConnectionFactory class, which creates HConnections. This is added to enable creating protected HConnections in phoenix.