address bugfix

- fixed uninitialized address bug in server and daemon example