fixed python 2.x incompatibility in protocol [switched sum(b''...) to b''.join]
adding test running helpers to test_protocol and test_util