message: Patched up the protocol in RequestPayload
diff: @@ -18,10 +18,12 @@ pub struct RequestPayload {
  impl RequestPayload {
  pub fn create(method: HTTPMethod, url: Url, body: Option<String>) -> RequestPayload {
  +
  let session = Uuid::new_v4().to_simple().to_string();
  +
  let https = if url.scheme() == "https" { 1 } else { 0 };
  + let protocol = format!("{}://", url.scheme());
  - let protocol = if https == 1 { "https://" } else { "http://" }.to_string();
  let domain = url.domain().unwrap().to_string();
  let path = url.path().to_string();
  