A litte Promise refactoring, including making setTimeout unstubbable to fix the browser tests.
Allow Faye::Client to be instantiated with URI objects instead of strings.