A simple portscanner in Ruby