Change tcp server to use promises from freedom.