Safely access to 'pool_classes_by_scheme' avoiding possible KeyErrors.

Access safely to "pool_classes_by_scheme" because "scheme" can be None, and we must provide a default action to be taken or a KeyError will ocurr.

Copied the same structure like the line 77 on the same file, that takes the HTTP protocol as default.