rm connect from client face
added encoding to client
added subprocess to client