Rewrite AutomaticOptions to not use httptest
Rewrite AutomaticOptions to not use httptest

httptest was adding an extra flag, which was sort of ugly. Instead,
reimplement the parts of its functionality we were using. Bonus: due to
specialization, it's now a bit more efficient as well!

cognusion/goji,dbmlabs/goji,Invacio/goji,w4ngyi/goji,vsco/goji,yangou/goji,zenazn/goji,unixorn/goji,vanackere/slim,tchssk/goji,beni55/goji