Allow only one HTTP poll at a time per extension

Without this change, long-running poll requests (such as those resulting in a timeout) can cause arbitrarily long request queues, eventually leading to spontaneous termination of the application.
Comment formatting tweak
Merge pull request #336 from LLK/extension-poll-wait

Allow only one HTTP poll at a time per extension