/Engine/Plugins/Media/ElectraUtil/Source/ElectraHTTPStream/Public/ElectraHTTPStream.h
Call this to allow unsafe connections for debugging purposes. Not enabled in shipping builds.
void AllowUnsafeRequestsForDebugging()