# Functions
GeneratePort takes the address in the string provided and updates the port to one that is open.
GetAvailablePort retrieves an available port on the host machine.
MaybeGeneratePort takes an address and generates a new version of that address with the port replaced with an open port if the original port was 0.