add shutdownWrite to wangle for closing socket write only
add shutdownWrite to wangle for closing socket write only

Summary: current wangle has no way to close socket write side. writeFlags is extended so that wangle/AsyncSocketHandler can distinguish closeNow(), closeWithReset() and shutdownWrite()

Reviewed By: @viswanathgs

Differential Revision: D2522056

fb-gh-sync-id: 60616176d78311a4a09f9761a6ccda01dd502a88

gaoyingie/folly,facebook/folly,Hincoin/folly,charsyam/folly,sonnyhu/folly,PPC64/folly,floxard/folly,mqeizi/folly,mqeizi/folly,Orvid/folly,facebook/folly,facebook/folly,sonnyhu/folly,alexst07/folly,juniway/folly,rklabs/folly,Orvid/folly,rklabs/folly,charsyam/folly,mqeizi/folly,Hincoin/folly,gaoyingie/folly,rklabs/folly,rklabs/folly,sonnyhu/folly,alexst07/folly,brunomorishita/folly,juniway/folly,gaoyingie/folly,facebook/folly,floxard/folly,brunomorishita/folly,sonnyhu/folly,juniway/folly,sonnyhu/folly,PPC64/folly,Orvid/folly,charsyam/folly,floxard/folly,mqeizi/folly,Hincoin/folly,brunomorishita/folly,gaoyingie/folly,floxard/folly,PPC64/folly,alexst07/folly,juniway/folly,brunomorishita/folly,Orvid/folly,floxard/folly,charsyam/folly,facebook/folly,Hincoin/folly,Hincoin/folly,Orvid/folly,gaoyingie/folly,mqeizi/folly,juniway/folly,alexst07/folly,brunomorishita/folly,PPC64/folly,PPC64/folly,alexst07/folly,rklabs/folly