Updates for btcutil's btcnet conversion.