I came by coz i had the same problem with my application, kept getting 0x705 all the time

then i tried rewrite all my settings for my connection, and i found out that i had an extra space at the beginning of the sever address

so, request for developers, please trim the hostname string
and while we wait, to people having this issue just make sure that there is no extra characters in the hostname

hope it helps