added ?port arg to Http.by_curl