Fix file uploading compatibility via curl for 5.5
Add 5.5 to travis build