Stricter port validation