Socket monitor library. Acts similar to libevent!