cUrl options should be before url is specified