Handle request object correctly
Handle request object correctly

Properly fixes #28.

Before this change this module wasn't able to properly retrieve the cookie string which resulted in it setting an empty one instead.

The naming looks quite confusing now (`url.url`), it might be a good idea to rename the parameters ([you might take inspiration from TypeScript](https://github.com/microsoft/TypeScript/blob/master/lib/lib.dom.d.ts#L19944)), though that's not my call to make.
valeriangalliat/fetch-cookie,valeriangalliat/fetch-cookie