SORRY typo;
options bond0 mode=5 miimon=100
is really
options bond0 mode=4 miimon=100
Confirm your switch supports LACP and those ports are configured on the switch for the aggregation.
Check dmesg and the bonding status in /sys/class/net/$BOND/bonding to make sure that the lowest layer is good before progressing up the layers to IP/TCP/Application.