fix to handle www-form-urlencoded requests