Compensate for the broken PATCH support in PhantomJS

PhantomJS doesn't seem to send request body for PATCH:
https://github.com/ariya/phantomjs/issues/11384