1. Changed return result for client_socket methods
2. Added unittests for the client_socket module