Common protocol handlers for use with the shortstop node module.