RuudBurger/CouchPotatoServer — pull request #2775 by ressu (2014-01-26 17:27:35+00:00)
Title: Fix rTorrent connectivity

The combination of cleanHost and rTorrent.connect issues caused rTorrent
connections to fail. This update fixes cleanHost() so that it can
actually cope with SSL based hosts and finishes the migration to
cleanHost() in connect()

This also adds a doctest to cleanHost to avoid running in to this issue in the future.