Use socketproxy as separate library