Fixed issue #111

A name can't have newlines, < or > characters in it since it will break the header of the message... See issue #111 for details.
I can live with an exception for sure. In fact I first thought to throw an exception but I opted for a less "harsh" solution since I was not sure which kind of exception to throw or if it was the best way to fix this...