changed the count window to use a golang time.Duration string
Merge pull request #222 from mikedewar/countFix

changed the count window to use a golang time.Duration string
added the ToWebsocket block
added ToWebsocket to the library
Merge pull request #223 from mikedewar/toWS

To ws