Problem: zyre_peer_connect using bad endpoint

Due to confusion in design, node was sometimes announcing internal endpoint
like "tcp://*:12345" for public use in HELLO, causing failure in
zyre_peer_connect ().

Solution: remove confusing API options, require that zyre_set_endpoint
provide an endpoint valid both for bind and for connect, and announce the
correct endpoint in HELLO messages.
Fixes for format errors (%lld <> int64_t)
Problem: beacon discovery was broken

Solution: fixed test of zpoller return value on timeout.
Merge pull request #228 from hintjens/master

Problem: zyre_peer_connect using bad endpoint