Minor protocol changes + daemon implementation