1. When an HTTP server receives a request message from an HTTP client, how does the server know when all headers have arrived and the body of the message is to follow?
2. In a nonpersistent HTTP connection, how can HTTP inform the TCP protocol that the end of the message has been reached?