Exercise 1d solved: The server has now a timeout too, so that it times
out when the client takes too long to send a message after connecting.