Refactor to greatly simplify extension to other BOSS services

Includes some simplifications and minor optimizations, including enable
connection caching for LWP::UserAgent.