Create core WebSocket provider

Fixes #12