Use pivotal-golang/localip instead of copying in the code [#82988760]