added some remote server stuff

Signed-off-by: Daniel Dahlkvist (dice) <daniel.dahlkvist@dice.se>