Modifications to build successfully on windows, using VS 2013

Hello,
Modifications to build on windows
Included is a bug fix: in file uri.cpp, line 171, please review.
One test still fails: normal_connection_test, error code 10057 "Socket is not connected.", I'm not sure what's the problem.
Greetings,
Chris