Refactored http.New() to accept varadic functions