proto-shell: add a library function for sending protocol handler updates