Add NETLIB_READ
Add NETLIB_READLINE...plus some other cleanup