added options param to checkPortStatus; supports host and timeout