adjusted Sockthub / remoteStorage implementation to Dreamcode approach