refine socket cache key for php_urlfetch