add getopts_long to get arguments, still needs refactor
configure http port with -p or --port
validate port number before setting it