'If <host> is passed return a list containing the created connections
for that host. Otherwise return a dict with \'host: str\' and
\'conns: list\' as items.
:param host: Host'

def get_all(self, host=None):

    if host:
        return list(self._hostmap.get(host, []))
    else:
        return dict(self._hostmap)
