fix some problem with http server

1). I didn't implemented persisted connection, therefore, it is not 1.1;

2). I didn't end most of the responses properly with \n