func NewHandler(handler http.HandlerFunc) *httptest.Server {
	return httptest.NewServer(handler)
}
NewHandler creates a new Server
package testutils
import (
	"crypto/tls"
	"errors"
	"io/ioutil"
	"net/http"
	"net/http/httptest"
	"net/url"
	"strings"
	"time"
	"github.com/mailgun/timetools"
	"github.com/vulcand/oxy/utils"
)