move MuxHandler into BERTRPC
move mux_handler binding into caller
more robust error checking