parse argv in analyze-sockets