listen for error event
[fix] use correct option name
clean request options object
parse url query