Optionally allows platforms to specify the client version of a user. This is needed when the platform supports
connecting other version types then VersionType.RELEASE to the server.
Parameters:
connection - connection
Returns:
client protocol version, or null if handshake packet should be used