added additional logging and features for http server