Use six for urllib