Template:Get hostname/Notes

This template will scan the URL for the first double-slash and then grab the text from the "//" to the first "/". It doesn't care about the protocol being specified, and doesn't attempt to validate anything being returned.