Make sure multiple calls to setopt wont erase other values
Merge pull request #1834 from DeuxHuitHuit/gateway-setopt

Gateway setopt HTTPHEADER bug