Making salt.utils.http python3 compatible