Can you try to capture the RAW TCP network traffic with Wireshark or
tcpdump (or similar)? That would help a lot to figure out what went
wrong. The vibe.d code snippet doesn't look suspicious from the outside.