Server should now read in correct buffer size when recieving data from clients. TODO added to client as cause of truncated messages found. Also client should now read in correct buffer sizes from stdin and data from the server.