Some more network code, and non-functional bit shifting!