API for detecting network state

A new function called of_networktest is added to the Workarounds PBL to calculate the elapsed time for the client to call the server over the network, so as to help the developer find out the current network state and determine whether to perform heavy processing based on the network state.