Current working version using in chunsabot

processing additional X-VC header for authenticating
write() and write_image() now compatible with asynchronous call