Add attach server initialization and client connections detection
Added SSL tunneling layer support