fix spelling mistake and make host and port configurable
Merge pull request #41 from flyapen/rest_fix

fix spelling mistake and make host and port configurable