Modified Master to http connection