Add end handler to net.Socket and un-xit netPauseAndResumeSpec.js