Simple CoAP Client: optimize includes


Forward-declare classes, where possible, and add the missing includes
to the cpp file.

Task-number: QTBUG-113858
Pick-to: 6.6 6.5
Change-Id: I647f00c6f56aea13a4e3c1771beee7963537399c
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
commit23f98b0bc4ce8f04a4fe13a35fd2d6803887c534
parentac07a9918db7b998cc6a29af611f4b6ff663bfe2
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeTue, 13 Jun 2023 17:18:03 +0200