Adding websocket onerror cb.  Fixes #13.