lib/java: delete CSV protocol
lib/java: make StackedInputProtocol implement InputProtocol