HRCPP-73 TcpTansportFactory stores hash in shared_ptr

Use pointer instead of shared_ptr