Rework Netty response to use chunked encoding

Using chunked encoding all of the time allows the polling-based
transports to continue to work while also enabling the
streaming-based transports.

The following transports should now be functional:

 - xhr-polling
 - jsonp-polling
 - xhr-streaming
 - iframe-eventsource
 - iframe-htmlfile