Added option 'httpWait'. Fixes #1.