add methods for secure URI + URL handling