Added domain and path option. Added set_referral_cookie() method