Improve tests. Bump version. Remove jsondiffpatch dependency. Add host and port parameters to createConnection().