Series of functions that we now need in hs_service.c. Signed-off-by: David Goulet <dgoulet@torproject.org>