Add option to disable listen for incoming conns.

This commit provide support for a new nolisten option which disables
listening for incoming connections.  It also disable listening when the
--connect option is used.