add support for port
add test for https
Merge pull request #7 from lvivier/master

better defaults for port