protected Connection newConnection(){
  return new Connection(streamProvider);
}

protected Connection newConnection ( ) { return new Connection ( streamProvider ) ; }
allows the connections used by the server to be subclassed . this can be useful for storage per connection without an additional lookup .
