add basic error handler
add parser for application/x-www-form-urlencoded parameters to emulate multipart encoding