Updating http async to fix problem with uploading