first part of porting network connection to GDBus