Added CLI argument handling to BasicCoapClient