ALLJOYN-1942: max_completed_connections parameter not being honored when clients try to make concurrent connection to service on ICE.

Change-Id: If16eb56a791ad16768e9084b646946d0d6768e14
ALLJOYN-1944 Fix memory issues detected by valgrind.

Change-Id: Ib3fa2ecbf55669b43cebe8dd72684c7fb3f8f448