Added toUrlRequest() methods to the String struct