More sophisticated server using http module