Merge pull request #1862 from kjj2/testports
Fix: when testnet=1 specified, change default RPC port to 18332