Added support for disconnect on raw socket! Added automated tests for that.