Monkey patch sockJS to close cleanly

SockJS will not emit close properly. This means that if you have lots of streams on a single stream server it will leak memory, the memory leak get's even worse if you have large pipe lines of streams or are using mux demux