Move the client disconnect message in the HTTP server after the waitForData call. See #597.

Previously, the log message would indicate that a connection timed out, even if the client actively disconnected during the keep-alive period.