Refactored CoAPOptionHeaderConverter.