aptirepo-updatedistsd: use socket.sendall() instead of socket.send()
http: outsource dists updating to updatedistsd