Wrap interactive programs with networking