Fix httplib.IncompleteRead bug