TCP/UDP port range checks