improve `nyara server` with -d, -p options
add test and fix ARGV parsing for server launcher