expanding unit tests for tcp socket streams
- tests are flawed in the sense they cannot be run before the sockets
  are cleared (TIME_WAIT)