Making salt.modules.http python3 compatible