HTTP server fix: Interpret a read of 0 as EOF and close the socket.