Pause/resume in restPrototypeMethodHandler (see #84)

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