Determine protocol version on the first connection NODEJS-3