added handler for (base64) data URIs
Refactor DataUriAdapter a little