primus/primus — pull request #128 by lpinca (2014-01-09 16:13:38+00:00)
Title: Handle unhandled requests

Issue #120 happens when a request is captured by Primus and it is not correctly handled by the underlying realtime framework.
`Socket.IO` and `Engine.IO` correctly handle this.
This patch adds:
* a listener for normal requests in the `websockets` transformer which returns a `400` error status code
* a slightly modified prefix for the `sockjs` transformer to make it work like `Socket.IO`/`Engine.IO`
* a `next` handler which returns a `404` error status code when the `browserchannel` transformer returns `next()`