expose actual tinylr server along with middleware, make middleware listen properly