class Cucumber::WireSupport::Connection

def socket

def socket
  @socket ||= TCPSocket.new(@config.host, @config.port)
rescue Errno::ECONNREFUSED => exception
  raise(ConnectionError, "Unable to contact the wire server at #{@config.host}:#{@config.port}. Is it up?")
end