connection address surgery, be a little more smart to determine local vs remote addresses