close bug #33: support persistant connections
code optimisations
- flush individual responses immediately