add client socket to public interface

 * rename reading socket to client socket
 * move it to public interface