Add logging of user-agent.

* Added new member strings to store the user-agent and the host.
* Added class header comments.
* Clear the useragent and host strings on Clear() function.
* Get the user-agent and host in parse_request() function.
* Add logging of user-agen to log file.