fopen support for Google App Engine apart from CURL

CURL is not supported on Google App Engine for PHP. So additional
method based on fopen is implemented.