Finished parsing of HTTP request and added connection establishing code