Adding support for url to be a proc.
Merge pull request #28 from bradly/url_as_proc_support

Adding support for url to be a proc.