Fix deprecation warnings in test_socket.
1 file changed