simple utility for testing speed of TCP-socket channel