Add basic networking code