Socket Pool class