Streamline ws example, fixes #39