Rename socket_class to socket_impl