sinsp_filter_check_fd::compare_port now makes sure that the FD is actually a socket