better handling for host and port, now should work on heroku
bump version to 0.2.19