cleanup some code
add eyes deps
fix #1
add timeout
add a middleware for connect / express
remove prefix for middleware