Restore change lost in merge conflict.
Issue #99. Added support for HTTP response codes 300, 303, 307, and 308. Added support for the Set-Cookie header, regardless of the HTTP response code.