Add Preact server side integration

Here is the server side integration for Preact. Let us know if anything needs to be changed.