Merge pull request #160 from aplanas/master

Mainly refactory stuff, but contains an one liner fix that is hitting now.
output links directly
A missing XML is marked with an empty string.
Remove reference to groups in DECLINE message.
Improve error message.