Fix issue #34 Don't crash on sending empty string