Network-Based Design of Near-Infrared Lamb-Dip Experiments and the Determination of Pure Rotational Energies of H218O at kHz Accuracy