Fixed deprecated method call when outputting content to browsers connecting to server over http web server port.