Revive support for hex literals in protocol