A simple wrapper for HttpUrlConnection