[#1475] Correctly handle writes with empty MessageList in SslHandler