Check if response is chunked before closing connection in tryWrite
Use SelectionKey attachment to hold responsecomplete flag
Merge pull request #84 from rufoa/master

Bugfix: HTTP streaming connection closes after first chunk with Connection: Close header