Fixes #975

When virtualservers have a longer than SSL_MAX_SSL_SESSION_ID_LENGTH we limit the session_id length to that value, instead of the full virualserver name.