Fix bad bitmasking in curl setopt