Fix for post requests with unparseable post data (JSON/SOAP)

Hi,

I started to use your proxy for passing Transmission WEBUI RPC requests. It uses POST requests with raw json content, so i had to make a small modification in the script to work with raw request data.
I think this commit won't break anything and it would be nice if you merge it. :-)

Thanks,
Istvan