Revisiting the foundations of nonlinear optics using quantum light