traditional http functions prepared for non websocket support