HRCPP-7 Handle transport exceptions within the Codec