fix formatting of error response to be json like all other responses. add test timeouts
fix formatting
Merge pull request #30 from kaazing/http-response-fix

Http Response Format Fix