transport: catch utf8 decode errors