fixes to librato client and support for more config variables