revise the socket receive operation.and add heart beat instruction.
the update program for the apk downloader.