https://trac.torproject.org/projects/tor/ticket/13187