Distributed quadratic programming under asynchronous and lossy communications via Newton-Raphson consensus