WebChat: Simplified the CheckForLinks function.

It also works for multiple links now
This will still fail for links followed by whitespace other than a space (tabs etc)