Simple port checker for ruby