Http server. Working version