private void writeBytesToStream(byte[] bytes, HttpServletResponse response) {
        response.setContentType(CONTENT_TYPE);

        // Send image
        try (ServletOutputStream sos = response.getOutputStream()) {
            sos.write(bytes);
            sos.flush();
        }
        catch (IOException e) {
            // Do nothing
        }
    }
Writes out a <code>byte</code> to the ServletOuputStream.

@param bytes the bytes to write to the <code>ServletOutputStream</code>.
xmppserver/src/main/java/org/jivesoftware/util/FaviconServlet.java