Fix a channel close issue; Allow zero-length content bodies

Quick fixes for two issues I ran into trying to implement amqplib in a project.  

I didn't dig too deeply in the pending one.  It was gone, and I made an assumption about why.