update cmake config for clang compiler on OSX
remove unused config parameter
Merge branch 'devel' of github.com:kelvinh/xproxy into devel
remove unused fetch io_service
improve the macro definition
improve the exception handling in main function
[improvement] canonicalize naming
[improvement] remove unused macros
[improvement] use smart pointers instead raw pointers
[improvement] move complicated methods to cpp file
[bugfix] when client socket timeout triggered, the socket read operation callback will receive operation_aborted error
[bugfix] when using Ctrl-C to terminate program, the std::abort() function is called, due to acceptor_.close() will call OnConnectionAccepted(), but the latter did not check if the server is stopped
[bugfix] stop all sessions when termination signal is received, otherwise program will not exit
[bugfix] when server is stopped, callback OnClientDataReceived() will be called with operation_aborted error, so check server's state in that callback to distinguish normal server stop from real application error
[bugfix] check server's state in callback OnServerDataSent() to distinguish from normal server stop from real application error
[improvement] cancel the timer to avoid waiting for the timer callback while exiting
[improvement] enhance debug log
[update] update cmake config, add new logging library dependency
remove unused file
remove extra logging