Net improvements

It makes no sense to force developers to use net.ReadBit and net.WriteBit, as they only lead to complications. This just adds net.ReadBool and net.WriteBool and makes net.WriteType and net.ReadType use them.