Simplify HTTP API and refactorings

 * Changed `HttpRequestHeader` and `HttpResponseHeader` to modules
 * Added documentation comments for most HTTP headers
 * Renamed `dontThrowOnHttpErrors` to `silentHttpErrors`
Merge pull request #497 from tpetricek/master

Simplify HTTP API and refactorings