Replacing Socket.IO with Primus

... and SockJS.

Still need to re-implement a few things, test and solve those
disconnection issues.