Implement server functionality with Apache httpCore