Handle ifMatch & ifNoneMatch options in GD backend

Issue #663