Pause/resume in restPrototypeMethodHandler (see #84)

Signed-off-by: Fabien Franzen <info@atelierfabien.be>