rename newServerSocket to createServer and correct method docs
add socketConnect method, allowing plugins to change connect behavior