Fixed typos in SocketHandler