Adding options for RPORT since we are no longer using the http client libraries and fixing version check