Use the correct transport when re-connecting using the AutoReconnect option
Merge pull request #838 from cwensley/fix-reconnect-transport

Use the correct transport when re-connecting using the AutoReconnect option