New msg type, parse meta, handle connect and disconnect