cUrl failed: Empty reply from server