Initial checkin of C interface for network communication.