pyrakoon.tx: Rework & simplify

- No need for out-of-order socket writing: using `transport.write`
  in a `Protocol` is 'blocking' anyway
- Use `transport.writeSequence`
- Enhance cleanup of outstanding handlers
- Add state machine assertions