Http Request wrapper written in Swift