Terminating line breaks; make sample server executable