You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: util.go
    path of file: ./repos/hoverfly/core/util
    
    the code of the file until where you have to start completion: package util

import (
	"bytes"
	"compress/gzip"
	"encoding/base64"
	"encoding/json"
	encoding_xml "encoding/xml"
	"fmt"
	"github.com/ChrisTrenkamp/xsel/exec"
	"github.com/ChrisTrenkamp/xsel/grammar"
	"github.com/ChrisTrenkamp/xsel/parser"
	"github.com/ChrisTrenkamp/xsel/store"
	log "github.com/sirupsen/logrus"
	"io/ioutil"
	"k8s.io/client-go/util/jsonpath"
	"math/rand"
	"net/http"
	"net/url"
	"reflect"
	"regexp"
	"sort"
	"strings"

	"strconv"
	"time"

	"github.com/tdewol
    
func GetResponseHeaders(response *http.Response) map[string][]string {

	// Make a copy of the response headers, preventing any changes to response being saved into the simulation
	headers := make(map[string][]string)
	for key, value := range response.Header {
		headers[key] = value
	}

	if response.Trailer == nil {
		return headers
	}

	var trailerKeys []string
	for key, value := range response.Trailer {
		headers[key] = value
		trailerKeys = append(trailerKeys, key)
	}

	headers["Trailer"] = trailerKeys
	return headers
}