fix #728 Headers should not be shared between request handler instances

`RequestHandler` and `JSONRequestHandler` used to rely on implicitly static fields for headers. Since the addition of `RequestHandler#getHeaders()`, it was possible to modify those headers, corrupting the whole application.