adding a ResolveUrl() method 

`ResolveUrl(string rawUrl)` will map root-relative or app-relative (assuming app-root == site-root) urls so that url syntax like '~/page', '/page', and 'http://localhost:81/page' are equivalent, assuming that you have called PortFactory.AspPort = 81