added 5000ms timeout
rejecting promise and responding to HTTP request with statuscode 500
intercepting http error while processing url
Merge pull request #64 from christian-fei/fix_parse_error_and_respond_to_client

Fix parse error and respond to client