Add relevant CURL options to request() function