Bugfix: send() raised ValueError when argument was not a message.
Should be TypeError.)