REST handler cannot handle segmented HTTP requests
The REST/HTTP server (specifically tested in the FNE, but likely all the REST servers) cannot handle segmented TCP HTTP requests.
The issue is described here: https://stackoverflow.com/questions/50213271/python-requests-splits-tcp-packet
We need to figure out why the TCP handler gets upset at segmented PDUs.
The problem lies in how we handle HTTP TCP data today. We try to read out the content of an HTTP request using the content-length header, regardless of whether or not we actually have enough data in the buffer to read. This results in memory overflow issues and returning nonsense data when segmented HTTP requests are sent (python's requests library in particular splits out the header and content into separate TCP packets).
https://github.com/DVMProject/dvmhost/blob/41044d22714faf54c7d5163d2732f736c93d56ed/src/common/network/rest/http/ServerConnection.h#L99-L102
This area of code will need to be reworked to handle segmented HTTP payloads, but that's beyond my current skill level. @gatekeep will probably need to take the reigns here, when he comes back.