Use getopt to read user command line supplied arguments and allow for
configuration of host socket address and port with -s option.
Signed-off-by: Eyal Ilsar <eilsar@codeaurora.org>
[bjorn: dropped debug mask flag and update commit message]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
As no code from the downstream implementation is included in the project
we are free to move to a more permissive license.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>