Fixed http port recognition