Initial commit - added req.pause() and req.resume() to deal with Python scripts having trouble reading from sys.stdin.