Upgrade to SocketIO 1.0

This pull request implements the upgrade to SocketIO 1.0 and closes #66. Also switches Primus to use SockJS for testing.