No need of allow_url_fopen when not using curl mode

Instead of using *file_get_contents()* in non-curl mode we can use fsockopen and sending all required headers to the web server. So that allow_url_fopen is not needed any more.

This is usefull because not everybody has access to his server to install curl or edit the php.ini