try-with-resources insures that the server socket gets closed.
Modified data sent/received by server to better model final product.