Hotroot: stream.end() closes one end of the socket