Set option TCP_NODELAY on socket to avoid buffering and combining tcp packets.