'Initializes the client
:name: str:name of the client
:host: str:url or ip of the client
:username: str: username for authenticating with the client
:password: str: password for authentication with the client'

def __init__(self, name, host=None, username=None, password=None):

    self.name = name
    self.username = (sickbeard.TORRENT_USERNAME if (not username) else username)
    self.password = (sickbeard.TORRENT_PASSWORD if (not password) else password)
    self.host = (sickbeard.TORRENT_HOST if (not host) else host)
    self.url = None
    self.response = None
    self.auth = None
    self.last_time = time.time()
    self.session = helpers.make_session()
    self.session.auth = (self.username, self.password)
