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