Add accept-first option. Fixes #1