code: func stompHeaderToMap(h *frame.Header) map[string]string {
  	m := map[string]string{}
  	for i := 0; i < h.Len(); i++ {
  		k, v := h.GetAt(i)
  		m[k] = v
  	}
  	return m
  }
docs: // stompHeaderToMap converts STOMP header to broker friendly header