(cleanup) breaking out compressor from conn

This is just a simple cleanup of conn.go while I am going through the code.