Implemented JSON network protocol. Please check readme. Fixes #16. Fixes a bug that stopped 0.2 from working. 0.21 release.