add simple middleware support for nico server
Merge pull request #50 from afc163/simple-middleware-for-nico-server

add simple middleware support for nico server