added --replyport as parameter to make the script work in NAT/PAT environments