working version of http connector