Improved speed by 1000 times ... just enabled NoDelay on the socket.