Merge pull request #121 from tribal-tec/master

Fix parsing of scheme://host:port URIs
Fix Win32 build