Do not corrupt the listen string when parsing it.

This fixes problem with ctld reload when it is configured to listen on two
portals with same IP, but different ports.

MFC after:	1 week

(cherry picked from commit a0aca4af786f93871c2435166f350751af9cd192)