changed networking code to use smart pointers for tcp_connection