Port Scanner Java Implementation