Split application layer and network layer - fix and initial successful test

- fixed pointer (double reference)
- tested with DallasTemperatureSensor successfully