remove network reader. the encoder is in fact fine with const ptrs