Base library for connect anywere in libev app.