Framer: more assertions.
Connection: fix stream id logging.