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.