Add support for custom server distributions

Also put in a simple test to be sure it works and some documentation to help people use it.