Merge pull request #5 from tonio-ramirez/master

Allow Glob matches in destinations.

@tonio-ramirez, I'll rename some of your code. DestinationType doesn't sound right to me.
Rename DestinationType to Matcher. Introduce _RegExpMatcher
trying to fix sendJson override of headers
trying to fix sendJson override of headers
Merge pull request #7 from revelfire/master

Contents of minor patch (es) to fix sendJson method in STOMP-dart.
a patch
Issue #9: support onConnect
#12: use flush instead of flushAsyn when writing EOF
Enhance error handling: split exception from the Error frame (see also #10)
dartdoc
minor