Not really necessary as this is the protocol of a Socket. Should be either TCP or WebSocket. You added an entirely different UDPSocket class.