A rewrite of Orbot's service/ package.