Set AttachStd* attributes according to detach and stdin_open commands, analogously to the docker cli
attach_socket() method for just getting the HTTP socket