Correct length check in send_command

Should solve the issue referenced here:

https://github.com/zack-bitcoin/basiccoin/issues/34