removed has_leftovers method from Mojo::Content
use new JSON features in WebSocket example