ce_base: Implemented connection attempt and timeout phase, still needs timeout callbacks