Add documentation for modbus_tcp_pi_listen
Fix mistake in modbus_tcp_listen documentation
Add documentation for tcp[_pi]_accept (closes #31)
Use accept4 in TCP PI if available
Remove warnings caused by shadowed 'index' variable

The index variable shadowed a variable in the standard library causing
warnings. Renaming the 'index' variable to 'idx' resolves the issue.