chore(connect): refactor http core into connect core

related to #CAM-2741