Fix IRC parsing algorithm according to RFC

Spaces can only be the 0x20 ones, and there can be more than one.

This also undoes commit 1c5e9ee8fb96ad6ff07502870472cedfb39ead74.
which introduced the side effect of replacing all full-width
spaces with regular ones.