make command_line creation more pythonic and fix syntax error
fixing syntax errors introduced when making code pep-8 compatible
Fix indentation bug that causes HTTPS connections not to work.
Merge pull request #5 from bhagemeier/master

Fixing syntax errors