fix test_websockets_gethostbyname