Complete rewrite of JSON-RPC
Adding the id to parseRequest and parseResponse
Merge pull request #1 from plaprade/stratum-types

Adding the id to parseRequest and parseResponse
Reinstated invalid tests, and fixed bugs
Merge pull request #72 from xenog/stratum-types

Complete rewrite of JSON-RPC