Socket::close() now supports an additional parameter for defining the shutdown type

Fork of Socket by mbed official

shortlog@9cf9c2d45264: not found in manifest