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.