Set 0 when CLIENT_SECURE_CONNECTION is not present.