logic implementation

add httpclient
add http test