Problem: generated API is not handling timeouts or interrupts
Problem: generated API is not handling timeouts or interrupts

Solution: return -1/NULL for methods when they interrupt while
reading from sockets.

jdiez17/zproto,zeromq/zproto,jemc/zproto,sphaero/zproto,jemc/zproto,vyskocilm/zproto,vyskocilm/zproto,somdoron/zproto,zeromq/zproto,asokoloski/zproto,somdoron/zproto,hintjens/zproto,vyskocilm/zproto,vyskocilm/zproto,bkmit/zproto,somdoron/zproto,zeromq/zproto,c-rack/zproto,bkmit/zproto,hintjens/zproto,asokoloski/zproto,jemc/zproto,zeromq/zproto,sphaero/zproto,jemc/zproto,vyskocilm/zproto,zeromq/zproto,hintjens/zproto,jdiez17/zproto,sappo/zproto,asokoloski/zproto,c-rack/zproto,sphaero/zproto,jemc/zproto,asokoloski/zproto,vyskocilm/zproto,vyskocilm/zproto,zeromq/zproto,asokoloski/zproto,sappo/zproto,jemc/zproto,jdiez17/zproto,sappo/zproto,somdoron/zproto,sphaero/zproto,bkmit/zproto,bkmit/zproto,bkmit/zproto,hintjens/zproto,c-rack/zproto,sappo/zproto,sappo/zproto,jdiez17/zproto,asokoloski/zproto,sappo/zproto,jdiez17/zproto,jdiez17/zproto,sappo/zproto,bkmit/zproto,c-rack/zproto,hintjens/zproto,hintjens/zproto,sphaero/zproto,c-rack/zproto,c-rack/zproto,asokoloski/zproto,c-rack/zproto,bkmit/zproto,zeromq/zproto,jdiez17/zproto,somdoron/zproto,somdoron/zproto,somdoron/zproto,jemc/zproto,sphaero/zproto,hintjens/zproto