Added port selection argument "-port"

Now only "-server" works for headless mode