ifr_protocol change implementation. Now function support not only Apache Web Server