Refactor: Separate out UDP server.
Steps to make it easier to introduce the TCP server.