parsing command-line args
parsing HTTP request