introduced http, https and socket argument