DRY url.replace().

Automatically disable WebSocket when the URL begins with 'http'.

Update the README with the new 'http' url syntax.

Update the clock example with the new 'http' url syntax.
Make timeout configurable
Add missing shutdown cases
Switch encoding to utf-8 to fix compile issues with R17
Add registered key back to fix relx issues
Merge branch 'timeout' of git://github.com/lpgauth/bullet
Merge branch 'shutdown' of git://github.com/lpgauth/bullet
Merge branch 'http_url_syntax' of git://github.com/fgallaire/bullet