Added ns_connect_http() helper function

Done