Changed connection acceptance and handling
Massive changes