made m_socket protected instead of private

This allows for subclassing of the NetworkClient in order to send messages over the socket