added a little more debugging, and stopped sending an empty cookie header when cookies are not set