add MODE and KICK to supported codes
cosmetics
empty lines (or lines with only spaces) made message parsing fail - fixed