This document presents a master's thesis on a lightweight and secure CoAP protocol for the Internet of Things, focusing on mitigating issues related to limited processing power, storage, and bandwidth. It discusses a new header compression scheme for DTLS in 6LoWPAN environments, aiming to reduce overhead and improve efficiency without compromising security. The evaluation demonstrates significant reductions in packet size and resource requirements, enhancing performance in IoT applications.