add shorter fsockopen timeout, also some debug fun
temp commenting out of x-forwarded-for