peer: fixes for addr handler.