quadratic to conic wrapper (with duals)