Exit with failure if CN cannot bind to bgp or xmpp port

Change-Id: Icb711d089303ba3f0c73b55b8d96a14dea3817f6
Closes-Bug: 1401383