Moved OAuth code to mailimap_oauth2.[ch]
Updated windows header