Add server-side RDPEI

This patch mutualize code between client and server for RDPEI. And add support for the server-side.