//http api
'/etcminfo'
//with the following json response
{
servertime: server-unix-time-stamp-seconds
publickey: server's public key
}
before the communication the client must check server time
to make sure the local time is within +/- 15 seconds compared with server
if not , please stop and adjust client side clock
server should check 'client side unix-time' , this should be within +/- 30 seconds
to prevent replay attack