Move setting the session_id_len until after we filled the session_id