clean comments, move accept call in main loop to top of loop
read from socket until message buffer is full
add client message read timeout