Fix a memory leak by freeing all request header strings when a connection is reset.
Do not prompt to hit Enter when after server is shutdown.
Parse response for status code and status message.