add option parser for wireserver