Moved functionality from JsonRpcServer that doesn't require APIs unavailable to Android to a different class.
It extends this class, so there's no loss of functionality.
The new class can be used as a server on Android.