client and server code, wip, multiple clients can connect to server and init connection