[BM] Make config directory rather than crashing.
If we are using SSH tunnels, listen on loopback. Otherwise, be v6 compatiable
Merge pull request #27 from jaymzh/config_dir

[BM] Make config directory rather than crashing.
Merge pull request #28 from jaymzh/loopback

[TT] If we are using SSH tunnels, listen on loopback. Otherwise, be v6 compat...
Redone logging, fixed upload logic

Syncing with upstream
Merge pull request #30 from odcinek/logging

Redone logging, fixed upload logic