Built python tcp listener