Militants attack army headquarters in Kashmir