configury: support separate libsocket.

* configure.ac (LIBSOCKET): Check for a socket funtion carrying
socket library.
* local.mk (ext_posix_posix_la_LDFLAGS): Add $(LIBSOCKET).

Signed-off-by: Gary V. Vaughan <gary@gnu.org>