Fixed http protocol issue