Add possibility to get protocol version of client