Rewrote connect(2) with libpayload.