A postgres middleware for nickel.rs