Proposed implementation for Pest issue #51 (Add cookie support to Pest)

I tried as much as possible for the code to look like the rest of Pest.php.
It works for at least my use case (cookie authentication).
Merge pull request #52 from torenware/master

Adding cookie support.