Fixes for JSON support and new authHeader and accept() sticky headers