private void SendError(HttpStatusCode code, Exception ex)
{
HttpServerResponse lResponse = new HttpServerResponse();
lResponse.Header.SetHeaderValue("Server", this.Owner.ServerName);
lResponse.SendError(code, ex);
lResponse.WriteToConnection(this.DataConnection);
this.DataConnection.Close();
}
}