making isHttpEndpoint to true only if http method is set. this was the same behaviour had before the refactoring. reverting back as it might affect AM. After proper analysis we can change the behaviour again