Fix issue where we added empty packets to the output buffer.

0 is not a valid syslog packet length. Thus if we detect this case, we
should not add the empty packet to the output buffer.

Related: #23 

@archaelus look good to you?