Add sed plugin

Ported from https://github.com/tsion/reggie