* moved protocol message factory into a subdir