The XMediaLib.Stun module provides the RFC 5389 implementation of the STUN protocol for both encoding and decoding.