mes: string->number: Support #x-prefixed hex numbers.