Transport and protocol agnostic RPC library for browser and Node.js