Refactored SplunkClient init to take in a hash of options.