wrap the client main code in a main() function
add functions to client to abstract how we determine ip addresses
Merge branch 'master' of github.com:fukawi2/dynd

Conflicts:
	client/dynd.sh