Correct charset defined for basic urlencoded POST requests

See #877.