feat(router): Support for WebSockets

Pass upgrade headers through the router to allow applications to
use WebSockets.

Fixes #1061