Fix issue #36: Bug in send()