added argument parser to the server (optparse is depricated)
corrected typo