partial implementation of serverhandler