Simple socket listener interface to be used with some of my future projects