NPE while adding referrer cookies fixed. (#16)
Code cleaning. (#16)
Merge pull request #16 from CERT-Polska/issue-16

Null pointer while setting cookies