Framer and Connection: fix frame parsing error handling. Fixes #10.