Added basic networking functions back in