fix another nil connection bug; add error information to codec carrier transport