add testnet support: --testnet or -T

Support for testnet-style addresses is still missing.