Added set_useragent method (#48)