Implement basic HTTP parser for server