Rudimentary esp_tcp active loop (doesn't handle sys messages)