utils.GetFirstIPAddr() as a common function in utils pkg