decoupling more of jabbr.client

also added in a regex helper method to refuce some of the code when
getting a match value