add support for Bit2c exchange
Correcting pull request according to code review of pull request.
Bit2c exchange no longer unsafe.