fixes streamSocketTest.