Fixing issues with proxying POST requests