Clean up & polish of mp::connect(::engine).
Move network code from gui to engine (mp::connect).