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

JSONRequestHandler used to have a headers which were implicitly static,
causing issues when modifying those headers with
RequestHandler#getHeaders().