Putting some functions in private mode and adding the support of http proxy