Remove an obsolete parameter from _run_server and add some file comment.

Release note: n/a

R=ricea@chromium.org

Review URL: https://codereview.appspot.com/8956043

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@770 4ff78f4a-9131-11de-b045-6380ec9940d4
Add retry logic to the socket creation code in clients for testing.

Release note: n/a

R=ricea@chromium.org

Review URL: https://codereview.appspot.com/9040046

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@771 4ff78f4a-9131-11de-b045-6380ec9940d4
Make echo_client.py announce c2s_max_window_bits capability

TEST=Tested connecting pywebsocket
R=yhirano@chromium.org

Review URL: https://codereview.appspot.com/11038043

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@772 4ff78f4a-9131-11de-b045-6380ec9940d4
Rename c2s_max_window_bits related variables for readability

Now we have this parameter in both client-to-server and server-to-client
direction. Variables we have now have confusing names.

Release note: n/a

R=yhirano@chromium.org

Review URL: https://codereview.appspot.com/10962045

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@773 4ff78f4a-9131-11de-b045-6380ec9940d4
Comment that we always use _RFC1979Inflater that can accept data generated with wbits=15

Release note: n/a

R=yhirano@chromium.org

Review URL: https://codereview.appspot.com/11091043

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@774 4ff78f4a-9131-11de-b045-6380ec9940d4
Test that permessage-deflate extension uses small window if specified.

R=yhirano@chromium.org

Review URL: https://codereview.appspot.com/10826045

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@775 4ff78f4a-9131-11de-b045-6380ec9940d4
Move functions that are useful also for xhr benchmark. 

xhr benchmark tool is coming. This is preparation for it.

R=yhirano@chromium.org

Review URL: https://codereview.appspot.com/10799045

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@776 4ff78f4a-9131-11de-b045-6380ec9940d4
Introduce window_bits constructor parameter to util._Inflate.

This change enables us to delete a dirty hack in a Blink layout test.
See http://crbug.com/235822 .

R=tyoshino@chromium.org

Review URL: https://codereview.appspot.com/11099043

git-svn-id: http://pywebsocket.googlecode.com/svn/trunk@777 4ff78f4a-9131-11de-b045-6380ec9940d4