add host and port options
Merge pull request #1 from albfan/master

add host and port options