simple port scanner in ruby