calculate processing delay after possibly looking up whether a connection came through tor