Netcat in Ruby