Working on HTTP headers

Added function to get the HTTP method

Made HTTP header separation more reliable (hopefully this time I got rid of any cases where \r\n is missed between split buffers)