Fix path and config reading method for host/port.

Limit and other settings were getting ignored since the host
configuration value wasn't getting read.
Merge pull request #10 from ahinni/master

Fix path and config reading method for host/port.