Read from an IRC socket