add config and support for alt domains/ports
add config port to curl
Merge pull request #14 from ryanxcharles/feature/add-config-port-to-curl

add config options for curl