connect_to_local(): use default testnet port, when the config file has testnet=x
Merge pull request #16 from lxmonk/connect_testnet_port

connect_to_local(): use default testnet port, when the config file has testnet=x