Ability to define custom host for API

I got lazy after seeing Issue #12 and decided to do this myself. I tested on my nagios and it works great. Enjoy!!