bug in sockets fixed

calling self.read() was a bad idea if socket was extended and did not
accept all four arguments to read. Now Socket.read() or SSLSocket.read()
is invoked instead