Lots of cleanup to the child process and some cleanup in the main lib by transitioning to multitransport-jsonrpc for messaging instead of rolling a custom messaging protocol.