Handle case where there is nothing to serialize
Handle case where there is nothing to serialize

This can happen in the pre_init stage if we terminate the connection
instead of sending a connack.

erlio/vernemq,erlio/vernemq,erlio/vernemq,erlio/vernemq