Fixed #3103 (fix $http for x-wmapp0 protocol)