Parsing URL before sending it to faraday