tcp support
tests for bimap