Add version and invalid bit to protocol