Enforce Content-Type and Content-Length consistency on requests