feat(router): Support for WebSockets

Pass upgrade headers through the router. This allows applications to
use WebSockets.

Fixes #1061