Add checking of port availability to site previewer.