Return absolute links
Fix context address
InetAddress.toString() returns hostname/ip
Make the resource registration idempotent by clearing the attributes before setting the new attributes