add '\n' when send messages, add new method to Server - send, sends data on the socket.