stream.py revorked:
 * SSLSocket.pending() method is not used anymore.
some minor fixes