Fluctuations of a temporal signal propagating along long-haul transoceanic scale fiber links can be visualised in the spatio-temporal domain drawing visual analogy with ocean waves. Substantial overlapping of information symbols or use of multi-frequency signals leads to strong statistical deviations of local peak power from an average signal power level. We consider long-haul optical communication systems from this unusual angle, treating them as physical systems with a huge number of random statistical events, including extreme value fluctuations that potentially might affect the quality of data transmission. We apply the well-established concepts of adaptive wavefront shaping used in imaging through turbid medium to detect the detrimental phase modulated sequences in optical communications that can cause extreme power outages (rare optical waves of ultra-high amplitude) during propagation down the ultra-long fiber line. We illustrate the concept by a theoretical analysis of rare events of high-intensity fluctuations - optical freak waves, taking as an example an increasingly popular optical frequency division multiplexing data format where the problem of high peak to average power ratio is the most acute. We also show how such short living extreme value spikes in the optical data streams are affected by nonlinearity and demonstrate the negative impact of such events on the system performance.