Bug 997372 - Add actor type logging to protocol.js. r=fitzgen