lwip: refactor to esp specific counter 1. Add tcp debug counter 2. Refactor other ESP specific counter See merge request !635