prevent SOCKET leak in BindListenPort()
prevent SOCKET leak in BindListenPort()

- the call to CloseSocket() is placed after the WSAGetLastError(), because
  a CloseSocket() can trigger an error also, which we don't want for the
  logging in this two cases

domob1812/crowncoin,Crowndev/crowncoin,Infernoman/crowncoin,Crowndev/crowncoin,Infernoman/crowncoin,Infernoman/crowncoin,syscoin/syscoin,Infernoman/crowncoin,domob1812/crowncoin,syscoin/syscoin,syscoin/syscoin,domob1812/crowncoin,Crowndev/crowncoin,domob1812/crowncoin,syscoin/syscoin,Crowndev/crowncoin,syscoin/syscoin,Crowndev/crowncoin,syscoin/syscoin,syscoin/syscoin,Infernoman/crowncoin,Crowndev/crowncoin,domob1812/crowncoin,syscoin/syscoin,domob1812/crowncoin,Infernoman/crowncoin