Fixed bug where could not bind to a windows socket