return true when transport.send returns undefined

Make #62 into single commit.