logic implementation

add httpclient.swift
add http test