class Net::SSH::Test::Socket

def open(host, port, options = {})

+self+.
Allows the socket to also mimic a socket factory, simply returning
def open(host, port, options = {})
  @host, @port = host, port
  self
end