Add type check to params.cookie
Add type check to params.cookie

Confirms that params.cookie is indeed a string so that invoking
.split() later doesn't cause errors.

william-p/phantomas,ingoclaro/phantomas,william-p/phantomas,gmetais/phantomas,macbre/phantomas,macbre/phantomas,william-p/phantomas,ingoclaro/phantomas,gmetais/phantomas,macbre/phantomas,ingoclaro/phantomas,gmetais/phantomas