Flow: fixing push(null) and stalling in certaing situations.
Connection: using Flow as base class. Fixes #24.