compiler: _java_compound_type: fix stray . in toString
lib/java: don't throw IOExceptions from Protocol constructors, but
ProtocolExceptions
lib/java: handle null JSON-RPC ids more gracefully
lib/java: handle null JSON-RPC ids more gracefully