implement subscribe packet parsing
implement unsubscribe packet parsing
make connect packet parsing more resilient