Added a HConnectionFactory class, which creates HConnections. This is added to enable creating protected HConnections in phoenix.
Merge pull request #698 from Usha-Kuchibhotla/master

Added a HConnectionFactory class, which creates HConnections.