def __init__(self, banner, ps1, fail):
        """
        Sets up the client
        """
        self._socket = None
        self._banner = banner
        self._ps1 = ps1
        self.fail = fail
        self.__wait_prompt = True
        self.__prefix = ""