Temprary and untested fix for server crashing behind proxy, it doesn't work download video behind proxy