more hackage to try and work around win 7 socket impl