Break function that writes the IP and port into a buffer into two separate functions.
Write first unit tests for Server.