[FIX] Fixed setting DUP flag
[ADD] Added setting duration(keep alive timer) to CONNECT message