def _configure_sockets(self, config, with_streamer=False, with_forwarder=False):
        """Configure sockets for HQ

        :param dict config: test configuration
        :param bool with_streamer: tell if we need to connect to streamer or simply bind
        :param bool with_forwarder: tell if we need to connect to forwarder or simply bind
        """
        rc_port = config.get('rc_port', 5001)

        self.result_collector.set_hwm(0)
        self.result_collector.bind("tcp://*:{}".format(rc_port))

        self.poller.register(self.result_collector, zmq.POLLIN)
Configure sockets for HQ

        :param dict config: test configuration
        :param bool with_streamer: tell if we need to connect to streamer or simply bind
        :param bool with_forwarder: tell if we need to connect to forwarder or simply bind