Make executables executable
Made stdin/out/err accessible remotely, and the client listens for stdout closing and messages accordingly