Stabilization of Optical Pulse Transmission by Exploiting Fiber Nonlinearities