init base classes for JSON-RPC transport protocol