Fix protocol version support