Sample code snippets for WMSAuth hot-linking re-publishing protection for Wowza