Replace :socket-class with :socket