Added simple message level compression. This is not an ideal way of doing compression but works for now. Will look into a stream oriented approach when I have more time.