Fix peerIp SEGFAULT, as well as staticMapString