Fixing issue with setting options on head requests. Closes #352