Add hidden services configuration handling

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