Adds `setClosedCallback` to `AsyncWebSocketProvider`.

Fixes #146
Merge pull request #149 from Simperium/issue/146-websocket-disconnect

Adds setClosedCallback to AsyncWebSocketProvider.