Merge pull request #38 from hurtonm/master

Add transport independent connect function
Implement server-side endpoints