Final fix null socket

with req.socket.on null socket are not closed and there are problems with stream so res.socket.on is better
to resolve crash of server with null socket I add a control res.socket==null --> return
so all works perfectly