Fix for #1998

Moving "rpc" addition to transmission host string after exception
Merge pull request #1999 from Wiltons/develop

Fix for #1998