Still trying to get the socket tests to work consistently.  Added some debug statements.