TCP Server API Improvements