switched from using deprecated optparse to using argparse
fixed wrong indentation which caused security groups not to work
added the option to run test by timelimit instead of number of requests