split out IRC message cleaning from parsing