Fix corrupted POST requests when no additional headers are provided