Client notify test and some refactoring of request interface
Refactoring jsonrpc requests to match the spec more closely