func (s *ServerSocket) Bind(endpoint string) (net.Addr, error) {
	return BindServer(s, endpoint)
}
Bind accepts a zeromq endpoint and binds the
server socket to it. Currently the only transport
supported is TCP. The endpoint string should be
in the format "tcp://<address>:<port>".
package gomq
import (
	"net"
	"github.com/zeromq/gomq/zmtp"
)
type ServerSocket struct {
	*Socket
}
func NewServer(mechanism zmtp.SecurityMechanism) Server {
	return &ServerSocket{
		Socket: NewSocket(true, zmtp.ServerSocketType, nil, mechanism),
	}
}