Use a Zend-compatible resource type for StreamContext