Merge changes I871eb6a2,Ied6f5aae,I226a41e7
am: 64e447eb40

* commit '64e447eb40d5edd86b415e252c584802608fae26':
  Add a test for the behaviour of FIN_WAIT sockets.
  Make the bytecode tests a bit more robust.
  Rename DisableLinger to DisableFinWait, and add an EnableFinWait.