public static void register(TransportProtocol proto) {protocols.add(0, new WeakReference<>(proto));}
public static void Register(TransportProtocol proto){protocols.Add(0, new JavaWeakReference<TransportProtocol>(proto));}