add write_gcm plugin

Is it worth sanity checking this vs the current time from the clock in case the clock is skewed?