The current maximum request header size is rather small and can easily be reached by using long URIs or long cookie values. This simple PR raises the default maximum request header size from 4k to 8k to match other common implementations, such as Apache, nginx etc. (https://stackoverflow.com/questions/686217/maximum-on-http-header-values or http://nginx.org/en/docs/http/ngx_http_core_module.html#large_client_header_buffers).
This is currently a hard-coded default with no way to change this value as a consumer. There's another open issue #214 to give users more control over this. This PR is created in the hope to spare users from looking into this in the first place.