fixing compile errors
server with base handler
adding TLS