fixed a command processing bug, refactored AddrList into iphelper.go