Now handles connections in a uniform manner.

Signed-off-by: retep998 <retep998@verizon.net>