Allow pathname logic to be overridden in connection config.
Merge pull request #19 from LightmakerCanada/customize-pathname

Allow pathname logic to be overridden in connection config.