made it so that in the 3rd step of the protocol - the execution of the command - to pass a socket instead of streams because we are not sure what kind of stream we need to create (object or simply data)