s2smanager: Give reasons to destroy_session in more cases, including when DNS lookup fails

Merge with backout branch

s2smanager: Send reply stream header only after checking we serve this host (sorry darkrain... :) )

Backed out changeset 78c5cb163ea9, to fix another way. Haven't done this for a while :)

s2smanager: More whitespace

s2smanager: Mark stream as opened sooner, this prevents a duplicated stream header on host-unknown errors (thanks darkrain and his mail server)

s2smanager: Whitespace

net.server_event: Add properties like _ip and _port to server objects too

net.server_event: Add :serverport() method to be compatible with old API

mod_bosh: Update for new connection API

(0) -1000 -300 -100 -10 +10 +100 +300 +1000 tip

mercurial