rpc-tirpc: introduced a common library and bound_socket()

* Introduced a common library for the rpc-tirpc test cases.
  This library will contain common functions and etc which may
  be used by some of the binaries.

* Introduced the bound_socked() function
  The "bottom level" TI-RPC functions require a bound network
  socket.
  This function is to avoid code duplication.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
rpc-tirpc: cleanup of the "bottom level" TI-RPC test binaries

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
rpc-tirpc: the "bottom-level" fixes

The functions from the "bottom level" TI-RPC API:
 * svc_dg_create
 * svc_vc_create
 * clnt_dg_create
 * clnt_vc_create
do not accept RPC_ANYFD parameter. This parameter is for the "expert level" API.

These functions should be passed with a bound socket.

Implemented it using bound_socket() function.

Also increased the timeout in tirpc_bottomlevel_clnt_call.c

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
rpc-tirpc: tirpc_svc_5 fixes

This server binary has the following problems:
 * uses the "bottom level" API with RPC_ANYFD parameter (it violates the API)
 * the clients of tirpc_svc_5 use not only the UDP protocol, but TCP too. But the
   server does not listen a TCP port.

Fixed them.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
rpc-tirpc: tirpc_rpcb_set and tirpc_rpcb_unset cleanup

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
rpc-tirpc: fix arguments to rpcb_set and rpcb_unset test cases

Both testcases utilise an unset variable - svcaddr.
It's incorrect.

Also added some simple checks of the transport creation.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>