Sproxy as a library