func NewEndpoint(path, query string) *Endpoint {
	return &Endpoint{path, query}
}
NewEndpoint returns a new Endpoint with the given path and query.
package socketio
import (
	"strings"
)
type Endpoint struct {
	Path  string
	Query string
}