@staticmethod
def join_path(prefix, path):
    """
        Policy to merge a prefix and a path in this protocol.

        :param prefix: prefix to add to the current path.
        :type prefix: str
        :param path: path to the file in the remote.
        :type path: str
        :returns: result of joining the prefix and the path for this protocol.
        :rtype: str
        """
    while prefix.endswith('/'):
        prefix = prefix[:-1]
    while path.startswith('/'):
        path = path[1:]
    return prefix + '//' + path
