Parse an HTTP Cookie header string into an object.
Cookie
solve('sid=abc; theme=dark') → { sid: 'abc', theme: 'dark' }.
solve('sid=abc; theme=dark')
{ sid: 'abc', theme: 'dark' }
Trim whitespace around names and values. Skip empty entries.
Sample tests