Dialyzer fixes for the connection manager.

Some minor fixes for the connection manager found via dialyzer.  

Also upgrades rebar to support debug_info via protobuffs.