Ported WalletExtension, StreamParserFactory, and IPaymentChannelClient.
mvn test passed.