register now uses a URL instead of IP+port
Merge pull request #11 from fdiller/master

register now uses a URL instead of IP+port