inherit from io.RawIOBase in SerialBase instead of everywhere else
diff --git a/serial/urlhandler/protocol_socket.py b/serial/urlhandler/protocol_socket.py
index d0979c7..0b3d555 100644
--- a/serial/urlhandler/protocol_socket.py
+++ b/serial/urlhandler/protocol_socket.py
@@ -33,7 +33,7 @@
 
 POLL_TIMEOUT = 2
 
-class SocketSerial(SerialBase):
+class Serial(SerialBase):
     """Serial port implementation for plain sockets."""
 
     BAUDRATES = (50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800,
@@ -262,21 +262,7 @@
         return self._socket.fileno()
 
 
-# assemble Serial class with the platform specific implementation and the base
-# for file-like behavior. for Python 2.6 and newer, that provide the new I/O
-# library, derive from io.RawIOBase
-try:
-    import io
-except ImportError:
-    # classic version with our own file-like emulation
-    class Serial(SocketSerial, FileLike):
-        pass
-else:
-    # io library present
-    class Serial(SocketSerial, io.RawIOBase):
-        pass
-
-
+#
 # simple client test
 if __name__ == '__main__':
     import sys