Ported network plugin from 0.6