fix misencoding of backslash characters; add regression test case for this
fix misencoding of backslash characters; add regression test case for this

mmikulicic/mochiweb,mrinalwadhwa/mochiweb,ligthyear/mochiweb