Problem: using old actor API style in zbeacon selftest

Makes for clumsy code. Solution: use zsock_send/zsock_recv, which
provide short 1-liners for richer command sending.

Nice results, new zbeacon is 422 lines of code, down from 580 LOC.