mochiweb_socket:send's return value should be checked

Otherwise, the Generator process can keep on pumping out data even if there's no place to send it to.