Fix #1173
Merge pull request #1186 from gcapizzi/fix_command_line_params

Set short versions of --port and --host as -P and -H, respectively. Fixes #1173.