Helper function to proxy images via Flayyer network to bypass CORS with Typescript support for Flayyer.com