Added -p (--port) and -s (--suffix) options using nopt, as per #4