get the time from the http response header and connect the polling system to rabbitMQ