updates to ProcessMessage for tor