Add support for passing commandline args to the synapse process. Contributed by @samuel-p.