Fixing problem with always re-created netty instance.
Implementing prepared statements.