The foscam FI9853EP outdoor IP camera comes default with an attached cable loom, which is very awkward for an outdoor cam. Luckily it's very easy to fix this if you have a POE capable switch.
Cable colour pinout:
Orange White (pin 1) Orange (pin 2) Green White (pin 3) Green (pin 6) Grey (pin 4) Purple (pin 8)
So just cut off the cable and connect it to an IDC strip or use an RJ45 8P8C connector.