Updated README connect example to match new API. Closes GH-21.