Return the greatest protocol version common to us and the peer.
Declared in <net.h>
<net.h>
int GetCommonVersion() const;
the greatest protocol version shared with the peer.