convert to using node v0.10 streams, end:true and new sock pattern, much improved