add support for connecting repl to tcp

This allows the REPL to connect to Warden via TCP instead of a socket. The Ruby library already supports this.