Added Client#protect_page method

Also minor refactoring, removed unused resp variable.

Change-Id: I59dd48cd166b33815c52718e9e1962a5be9a1eb3