temp solution for #3

socket.write combines packages
there isn't an option to flush the socket