--fixed issues with cookie management (especially when logging out)
--fixed issues with sending header info more than once.
--fixed issues related to this server