Improved socket error handling, added TrackerServer base