Zaslat SMS: Probabilistic foundations of statistical network analysis