Adding support for retrieving the protocol version.