Fix. test_socket_error.lua to work with travis.