Added CherryPy support.

The only thing I'm unsure about is how I'm handling file descriptors. Advice on how to proceed with that is appreciated.