The Opts value is put last, to be more consistent with the rest of the cowboy_req module. Additionally a test handler was fixed which reduced the number of errors in http_SUITE.
The API will be more consistent like this, and we can ensure that duplicate cookie names are never sent.