Adds setClosedCallback to AsyncWebSocketProvider.

Fixes #146