Amended the readline on nonblocking fd in list context, added test cases, and copied readline test cases for INET