Adding Accept and Content-Type headers to client