Make it possible to use a connect server with SockJS.
When SockJS is configured the `server.attach´ method now returns an
object `{server, attach}` to make it possible to use a connect/express
server instead of a plain http server.