Track sessions.
 * Produce real session_id.
 * Check sid is valid.
 * Rename checksid -> checksession