added tcp proxy logics, http server logics