interface change: sync and copas clients dont take args in ctor. connect gets passed in url and protocol. close handshake implemented.

cleanup os sync implementation.