mom server, coded except for POSTs, not tested