Add converter

Add converter to provide bc::type to bc::protocol::type conversion where possible.