limit the maximum number of received bytes to prevent a malloc error when this value is far too high
enabled drawing of the remote mesh
seperate mesh_resolution for x and y
number of bytes sent/received is no longer output to the console but can now be accessed by the functions getNumBytesReceived() and getNumBytesSent()
draw the number of sent and received bytes on the screen
added proper closing of the connection on exit