HttpFunctions - adding support for PUT requests

Fixing the PHP support for PUT requests, as right now we're not sending request body.