This moves the loopback address creation logic to a utility function so it can be shared with forth coming message API TCP test
This moves the loopback address creation logic to a utility function so it can be shared with forth coming message API TCP test