Added support for HTTP headers, with a sample for basic auth

Hey,

reading the HTTP request was not possible, because they were not copied into the Request object. This creates a patch and adds a HTTP basic auth decoder as another sample.