Working on SocketHandler.