missing user-defined /{protocol_id} in PUT call

Also corrected the response code for the "add protocol" call, which
should be 201 as it's a create operation.

Change-Id: I0b3eea9bc7f6e6a8c202359c37f166497f2ae85a
Merge "missing user-defined /{protocol_id} in PUT call"