Add scanning of ports for the given connection