Improve node server socket