Adds sample usage of both ways to construct a swift connection