fix up flags for listen/peer addresses