Added static constructor which initialize socket API on Windows