Added test to verify that listener opens socket correctly using a client that connects to it from a thread