func New(target, path, scheme string, event session.Handler, logger logger.Logger) *Proxy {
	return &Proxy{
		target: target,
		path:   path,
		scheme: scheme,
		event:  event,
		logger: logger,
	}
}
New - creates new WS proxy
package websocket
import (
	"crypto/tls"
	"fmt"
	"net/http"
	"net/url"
	"time"
	"github.com/gorilla/websocket"
	"github.com/mainflux/mainflux/logger"
	"github.com/mainflux/mproxy/pkg/session"
	mptls "github.com/mainflux/mproxy/pkg/tls"
)
type Proxy struct {
	target string
	path   string
	scheme string
	event  session.Handler
	logger logger.Logger
}