[LOG4J2-1863] Add class filtering to AbstractSocketServer