Refactor Server, refactor/retrofit SocketMixin

Closes #114, Closes #119, Closes #120