Update server.js

Socket buffer size are variable so send all policy lines at once