preg_replace(): The /e modifier is deprecated in PHP5.5

should fix #312

not tested (i'm not using websockets right now)

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>