abstract fun canHandle(initialMessage: String, conn: StratumConnection): Boolean (source)
Checks if the protocol can handle a TCP connection, based on the initial message.
initialMessage - the initial message sent over the TCP connection.
Return
true if the protocol can handle this connection