adding a generic DoHTTP function
separate the queues