normalize line endings
use ini_set to change default_socket_timeout setting from 1min to 10mins