[Plugin] fix: reimplement command line parsing (because we can and also because apache exec is buggy).