Grails app that overrides DefaultLinkGenerator.makeServerURL(), allowing link generation to be based on the incoming request rather than grails.serverURL.