Added auto detect scheme to io.connect() on client.