Java BSN_IN_PORTS_MASKED_128

Reviewer: @rlane

Only last commit has the new stuff...