Added ability to pass regex or proc to determine the domain name
Merge pull request #4 from fuelxc/master

Add ability to pass proc or regex