https://issues.apache.org/activemq/browse/AMQ-1580 - Check for 0 length buffer when receiving byte messages - Don't send an empty byte message if there is no data to flush - Added test case from AMQQ-1580