Add sinon devDependency
Improve parsing of connect string, add test for it