added documention for PSGI middleware
fixed author side test becase Test::TCP changed its interface