started porting msgd to use keyedbits
started working on client msg handling