moved net.h to common