add server and client connection (sorta)