- refactor(worker): make worker isomorphic to work on both client and
	server
- fix(sockets): encoding for config