func NewEventStream() *EventStream {
	return &EventStream{
		mutex:     new(sync.Mutex),
		receivers: make(map[net.Conn]*EventReceiver),
	}
}
NewEventStream creates a new event stream
package goose
import (
	"bufio"
	"errors"
	"fmt"
	"net"
	"net/http"
	"strings"
	"sync"
)
var (
	ErrUnableToHijackRequest = errors.New("Unable to hijack request")
)
type EventStream struct {
	mutex     *sync.Mutex
	receivers map[net.Conn]*EventReceiver
}