Fixes for PUT request when headers are forwarded.