egcurl: move argument parsing to its own function
egcurl: move argument parsing to its own function

elreydetodo/edgegrid-curl,akamai-open/edgegrid-curl,elreydetodo/edgegrid-curl,akamai-open/edgegrid-curl