Capitalise content-type and content-length to support Arduino.