coverity 83686 server close sockfd if failing out

Signed-off-by: Andy Green <andy.green@linaro.org>
coverity 83685 daemonize put the close in the right place

Signed-off-by: Andy Green <andy.green@linaro.org>
coverity 83684 more ways to close and use freed wsi

Signed-off-by: Andy Green <andy.green@linaro.org>
coverity 83683 test ping more uint64_t needed

Signed-off-by: Andy Green <andy.green@linaro.org>
coverity 83682 base64 decode more dead code

Signed-off-by: Andy Green <andy.green@linaro.org>