distcilib: merge HTTP/HTTPS helpers into one
distcilib: fix a loop in update_task
worker: use distcilib for accessing frontend
worker/calculator: hand config to worker_base init function