Implement dual protocol version support.