Socket API for sending and receiving Bruce protocol messages through UNIX domain datagram sockets or TCP connections.