extended parsing functionality and changed code to use instance of server in threaded function instead of static functions
made the request class responsible for most of the HTTP request parsing
in order to separate out functionality of the server