Fixes bug where script would crash due to ConnectionError
Adds proper parsing and exception handling to command line arguments
Changes argument parsing output to logger
Minor fix
Merge branch 'master' of https://github.com/halfdanrump/hatakeSensorNetwork