The X-Varnish header purpose is to ease the debugging of Varnish.
It contains the ID of the current request and, in case of a cache hit, the ID of the request that populated the cache.
Please refer to Varnish version 2.1.5 documentation.