Fix scope issue in error handler of WebsocketStream
Merge pull request #6 from jlewark/scope-issue-on-error

Thanks! Fix scope issue in error handler of WebsocketStream